<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

   <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="/DGIIDemoDinamicaRUC/css/screen.css" type="text/css" rel="stylesheet" media="screen,projection" />
        <link href="/DGIIDemoDinamicaRUC/css/print.css" type="text/css" rel="stylesheet" media="print" />
        <script src="/DGIIDemoDinamicaRUC/resource/js/cufon.js" type="text/javascript"></script>
        <script src="/DGIIDemoDinamicaRUC/resource/js/cufon-config.js" type="text/javascript"></script>
        <script src="/DGIIDemoDinamicaRUC/resource/js/font.js" type="text/javascript"></script>
        <title>#{bundle.paginaHeadTitulo}</title>
    </h:head>
   
    <h:body >

         <p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/>

        <p:dialog modal="true" widgetVar="statusDialog" header="#{bundle.estatusCargando}"
                draggable="false" closable="false">
            <p:graphicImage width="50" value="/img/load.gif" />
        </p:dialog>
        <!--<p:growl id="mensajes" autoUpdate="true" showDetail="true" showSummary="true" globalOnly="true"/>-->

        <div id="intro">
            <table width="100%" cellpadding="30" cellspacing="20" border="0">
                <tr>
                    <td width="15%">
                        <h:form>
                                <p:menu >
                                    <p:submenu label="#{bundle.menu}">
                                        <p:menuitem value="#{bundle.menuInicio}" action="/index" ajax="false"/>
                                    </p:submenu>
                                    <p:submenu label="#{bundle.menuCatalogo}">
                                        <p:menuitem value="#{bundle.menuValueOpc1}" action="/deRucTipoDato/List" actionListener="#{deRucTipoDatoController.prepareList()}" ajax="false"/>
                                        <p:menuitem value="#{bundle.menuValueOpc2}" action="/deRucTipoCampo/List" actionListener="#{deRucTipoCampoController.prepareList()}" ajax="false"/>
                                        <p:menuitem value="#{bundle.menuValueOpc3}" action="/deRucTipoMsj/List" actionListener="#{deRucTipoMsjController.prepareList()}" ajax="false"/>
                                        <p:menuitem value="#{bundle.menuValueOpc4}" action="/deRucCampo/List" actionListener="#{deRucCampoController.prepareList()}" ajax="false"/>
                                    </p:submenu>
                                     <p:submenu label="#{bundle.menuAcciones}">
                                         <p:menuitem value="#{bundle.menuValueAcc1}" action="/deRucPerfil/List" actionListener="#{deRucPerfilController.prepareList()}" ajax="false"/>
                                         <p:menuitem value="#{bundle.menuValueAcc2}" action="/deRucOpcion/List" actionListener="#{deRucOpcionController.prepareList()}" ajax="false"/>
                                    </p:submenu>
                               </p:menu>
                        </h:form>
                    </td>
                    <td width="85%" align="left">
                        <center><strong><ui:insert name="title">Titulo</ui:insert></strong></center>
                        <div class="wrap clearfix">
                            <ui:insert name="body">Content</ui:insert>
                        </div>
                    </td>
                </tr>
               
               
            </table>
        </div>
        <hr class="noscreen" />
        <div id="header">
            <div class="wrap">
                <!-- Logo start -->
                <a id="logo" href="" title="moduloReporte">
                    #{bundle.paginaTituloPrimerNombre}<strong>#{bundle.paginaTituloSegundoNombre}</strong>
                </a>        
                <!-- Logo end -->
                <hr class="noscreen noprint" />
                <!-- Navigation start -->
                <strong class="noscreen noprint">Navigation:</strong>
                <ul id="nav">
                    <ui:insert name="enlacesEncabezado">
                    </ui:insert>
                </ul>
            </div>
        </div>
        <hr class="noscreen" />
        <!-- Footer start -->
        <p class="footer">
            <span class="floatLeft">#{bundle.paginaPieAno} - #{bundle.nombreModulo}</span>
            <span class="floatRight">#{bundle.paginaNombreEmpresa}</span>
        </p>
        <!-- Footer end -->
    </h:body>
</html>

